DESCRIPTION = "EVIS Machine Vison." 
SUMMARY = "EVIS-MV : Machine Vison library" 
SECTION = "libs" 
LICENSE = "Proprietary" 
LIC_FILES_CHKSUM = "file://COPYING;md5=6c12031a11b81db21cdfe0be88cac4b3"

SRC_URI = " file://EVIS-MV.tar.gz " 

S = "${WORKDIR}/EVIS-MV" 

DEPENDS = "imx-gpu-viv opencv"

inherit cmake

EXTRA_OECMAKE += "\
  -DCMAKE_BUILD_TYPE=Release  \
"

do_install () {
		install -d ${D}${libdir}
		cp ${S}/lib/libEVIS-MV.so ${D}${libdir}
		install -d ${D}${bindir}
		cp ${S}/examples-bin/gaussian_filter ${D}${bindir}
}
INSANE_SKIP_${PN} += "rpaths dev-deps"
INSANE_SKIP_${PN}-dev = "dev-elf rpaths"